package haiyangwangwork.day05.homework;

public class MainImpl implements Idiving,Ishooting,Iswimming,Iriding{
    @Override
    public void swim() {
        System.out.println("游泳运动员可以游泳");
    }

    @Override
    public void ride() {
        System.out.println("自行车运动员会骑车");
    }

    @Override
    public void shoot() {
        System.out.println("射击运动员可以射击");
    }
}
